package com.xzmd.md_city.entity;

/**
 * @Author Corday
 * @Date  2021-7-9
 * 订单详情实体类
 */
public class OrderDetail {
//   订单编号
    private int oid;
//    商品编号
    private  int pid;
//    订单数
    private  int num;
//    生成构造器，get/set方法
    public OrderDetail() {
    }

    public OrderDetail(int oid, int pid, int num) {
        this.oid = oid;
        this.pid = pid;
        this.num = num;
    }

    public int getOid() {
        return oid;
    }

    public void setOid(int oid) {
        this.oid = oid;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
